-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BLADE-97] Refactor tx signer #115
Conversation
2ab4f84
to
5c97258
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not need stateTxSigner
, but other signers must be aware that we have state tx as well. Those txs are in essence legacy tx, and their hash is calculated the same as LegacyTx
. So in each signer which expects LegacyTx
, we should also add StateTx
as well as a type that can be processed by that signer.
* Refactoring the tx singer logic * Build fix * Fix tests
f3a2686
to
749dbe7
Compare
3f85f20
to
b7fda91
Compare
e5aba84
to
397ef42
Compare
Description
This PR reorganizes code for transactions signers in different signer structs and files for better separation of logic and responsibility.
Changes include
Checklist
Testing